//
//  Student.m
//  OC07_内存管理
//
//  Created by dllo on 16/5/31.
//  Copyright © 2016年 Scott. All rights reserved.
//

#import "Student.h"

@implementation Student
-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    NSLog(@"%@类没有%@属性.",[Student class],key);
}

-(id)valueForUndefinedKey:(NSString *)key{
    NSLog(@"value: %@类没有%@属性",[Student class],key);
    return nil;
}

-(NSString *)description{
    return [NSString stringWithFormat:@"className:%@,myPhone:%@",_className,_myPhone];
}



@end
